package main

import (
	"fmt"
	"github.com/imroc/req"
)

func main() {
	r := req.New()
	resp, err:= r.Get("https://www.baidu.com")
	if err != nil {
		fmt.Println(err.Error())
	}
	res := resp.Response()
	status := res.StatusCode
	fmt.Println(status)

}
